package com.beiding.jsonanalyzer.analyze.query;

/**
 * 连接词后
 * 可查自身,可查key
 *
 * @author 丁常磊
 * @date 2022/6/27 11:41
 */

public class ConnectOperator implements SelfQueryGrammar, KeyQueryGrammar,NotGrammar,KeyGrammar {

    private NodeQueryBuilder nodeQueryBuilder;

    public ConnectOperator(NodeQueryBuilder nodeQueryBuilder) {
        this.nodeQueryBuilder = nodeQueryBuilder;
    }

    @Override
    public NodeQueryBuilder getQueryBuilder() {
        return nodeQueryBuilder;
    }
}
